home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-02-13 | 1.8 KB | 80 lines | [TEXT/MPS ] |
- //# Copyright: © 1993 - 1995 by Apple Computer, Inc., all rights reserved.
-
- #ifndef _ODSTOR_
- #define _ODSTOR_
-
- #ifndef _ODOBJECT_
- #include "ODObject.idl"
- #endif
-
- //==============================================================================
- // Classes defined in this interface
- //==============================================================================
-
- interface ODStorageSystem;
-
- //==============================================================================
- // Classes used in this interface
- //==============================================================================
-
- interface ODSession;
- interface ODContainer;
- interface ODTypeList;
- interface ODPlatformTypeList;
-
-
-
- //==============================================================================
- // ODStorageSystem
- //==============================================================================
-
- interface ODStorageSystem : ODObject
- {
- ODSession GetSession();
-
- ODContainer AcquireContainer(in ODContainerType containerType,
- in ODContainerID id);
-
- ODContainer CreateContainer(in ODContainerType containerType,
- in ODContainerID id);
-
- void NeedSpace(in ODSize memSize,
- in ODBoolean doPurge);
-
- ODTypeList CreateTypeList(in ODTypeList typeList);
-
- ODPlatformTypeList CreatePlatformTypeList(in ODPlatformTypeList typeList);
-
-
- #ifdef __SOMIDL__
- #ifdef _PLATFORM_MACINTOSH_
- implementation
- {
- majorversion = 1; minorversion = 0;
-
- functionprefix = ODStorageSystem;
-
- override:
- somUninit,
- Purge;
-
- releaseorder:
- GetSession,
- AcquireContainer,
- CreateContainer,
- NeedSpace,
- CreateTypeList,
- CreatePlatformTypeList,
- reserved1,
- reserved2,
- reserved3,
- reserved4;
-
-
- };
- #endif //# _PLATFORM_MACINTOSH_
- #endif //# __SOMIDL__
- };
-
- #endif // _ODSTOR_
-